package com.edu.labmanager.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实验室管理员管理表，用于记录实验室管理员与实验室的管理关系
 * </p>
 *
 * @author author
 * @since 2025-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lab_admin_management")
public class LabAdminManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "lab_admin_id", type = IdType.AUTO)
    private Integer labAdminId;

    @TableField("user_id")
    private Integer userId;

    @TableField("laboratory_id")
    private Integer laboratoryId;

    @TableField("assign_date")
    private LocalDate assignDate;


}
